﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News_Album.aspx.cs" Inherits="Token.Piker.Web.News_Album" %>


<%@ Register TagPrefix="uc" TagName="ucHead" Src="~/uc/head.ascx" %>
<%@ Register TagPrefix="uc" TagName="ucFoot" Src="~/uc/foot.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>皮壳网</title>
    <link href="css/uc.css" rel="stylesheet" type="text/css" />
    <link href="css/singlePhoto.css" rel="stylesheet" type="text/css" />
    <link href="js/fancyapps-fancyBox/source/jquery.fancybox.css" rel="stylesheet" type="text/css" />
    <link href="css/login.css" rel="stylesheet" type="text/css" />
    <script src="js/fancyapps-fancyBox/lib/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="js/fancyapps-fancyBox/source/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/autoTextarea.js"></script>
</head>
<body>
    <!---头部--->
    <uc:ucHead ID="ucHeader" runat="server" />
    <!---头部结束--->
    <!---正文--->
    <div class="main_box">
        <div class="main">
            <div class="content">
                <div class="column">
                    <span class="albumInfo" id="albumInfo" title="<%=AlbumModel.ID %>">
                        <span>
                        <a href="#name" class="albumdetails"> <%=AlbumModel.AlbumName %></a> 
                        拍摄于 <a href="#time"><span class="albumtime"><%=string.Format("{0:f}", AlbumModel.ShotTime) %></span></a>&nbsp;&nbsp;&nbsp;
                        </span>
                        <br />
                        <span> @ <a href="#" class="albumdetails"> <%=AlbumModel.ShotPosition %></a> </span>
                    </span>
                </div>
                <div class="albumdesc">
                    相册描述：<%=AlbumModel.Descrip %>
                </div>
                <div id="title" class="title">
                    <asp:Repeater ID="Photo_rpt" runat="server">
                        <ItemTemplate>
                            <div id="album" class="album">
                                <div class="albumposition">
                                    <span style="padding: 2px 10px 0px 0px;">#<%#Container.ItemIndex+1%></span>
                                </div>
                                <span id="photo_list" class='photo-list'>
                                    <img class="lazy" id='<%#Eval("ID").ToString() %>' lazy-src="../Images/placeholder.png"
                                        src="<%#"/AJAX/Thumbnail.ashx?pid="+Eval("ID").ToString()+"&width=660&height=800&newsphoto=true" %>"
                                        alt="<%#Eval("Descrip") %>" style="max-width:700px;max-height:933px;" />
                                </span>
                                <div class="statement" clicked='0'>
                                    <font style="color: green; font-weight: bolder;">DESC：</font>
                                    <p class='description'>
                                        <%#Eval("Descrip")%></p>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div class="link">
                    <dl>
                        <dt>
                            <p>
                                较新的一辑：<a href='<%=nextSRC %>' target="_blank"><%=nextAlbum.AlbumName%></a></p>
                            <p>
                                较早的一辑：<a href='<%=preSRC %>' target="_blank"><%=preAlbum.AlbumName%></a></p>
                        </dt>
                    </dl>
                </div>
            </div>
        </div>
    </div>
    <!---底部--->
    <uc:ucFoot ID="ucFooter" runat="server" />
    <!---底部结束--->
    <!---登录区域--->
    <div id="div_login" style="display: none">
        <div id="div_login_title">
            <h2>登录到皮壳网</h2>
        </div>
        <div id="login_content">
            <p>
                <label for="userName">
                    用户名：</label>
                <input class="text" type="text" name="username" id="username" />
            </p>
            <p>
                <label for="password">
                    密码：</label>
                <input class="text" type="password" name="password" id="password" />
            </p>
            <p>
                <input class="button" type="button" value="登录" id="btnSubmit" />
                <a id="anchor_create_account" href="Register.aspx">没有账号？立即注册</a>
            </p>
        </div>
    </div>
    <!---登录区域结束--->
    <script src="js/login.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/lazyload/jquery.lazyload.js"></script>
</body>
</html>
